import hudson.model.*;

@Library("share-lib") _

pipeline {
    agent any
    stages {
        stage('Example'){
            steps{
                echo 'Hello world!'
                script {
					model_call = load "C:\\Jenkins\\share-lib\\vars\\TwoNumberAdd.groovy"
					println "local call result:" + model_call.call(1, 2)
					
					result = TwoNumberAdd 3,2
					println "global call result:" + result
				}
            }
        }
    }
}
